package com.lagou.edu.service;

import com.lagou.edu.pojo.AuthCode;
import com.lagou.edu.pojo.User;
import org.springframework.ui.ModelMap;

public interface UserService extends BaseService<User> {

    ModelMap checkCode(AuthCode authCode);

    String getToken(String email);

    String getEmail(String token);

}
